<?php
/**
 * Created by PhpStorm.
 * User: Dave
 * Date: 2018/5/11
 * Time: 14:39
 */

use Biz\service\trade\Logistics as sLogistics;

class MultiLogisticsAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        if (!$this->uid) {
            throw new \Exception('用户ID错误');
        }

        $logisticsInfo = sLogistics::getMultiLogistics($this->uid);

        $this->setSuccess($logisticsInfo);
    }
}